package com.cn.wanxi.Controller;

import com.cn.wanxi.annotation.Autowired;
import com.cn.wanxi.annotation.Controller;
import com.cn.wanxi.annotation.RequestMapping;
import com.cn.wanxi.service.UserService;
import com.cn.wanxi.service.impl.UserServiceImpl;

import javax.servlet.http.HttpServletResponse;

@Controller("user")
public class UserController {
    @Autowired
    private UserService userService;

    @RequestMapping("login")
    public void login(HttpServletResponse response) {
        userService.login();
    }
}
